Move auth.js to the end of page