Initial javascript for login
Add error handler for 403 errors