Updated scripts for requirejs