made the tempapp code kick in regardless of auth status

bonus whitespace fix on application.js