Cleaning up user profile js file.