fixed javascript not found when logging in via openid