Tidy up RequireJS file