Fixed problem when rails load each app.*.js files