Adding application.js to provide some addtional needed functionality for...

... applications (login, forget password)