there is no need to add a javascript hack for pms - go to your user control panel and then go to edit options. Then select the radio button which says "Pop up a box when you receive a Private Message?"
hope this helps
p.s. that was my fault with the spelling mistake - lol
