Javascript help for a page protected by a password