Adopt requirejs modules for multiple end js files