Rebuild auth.js file