Replaced all the things with RequireJS.