Add requirejs, modularize studio js