Cleanup user.js for style guide compliance