add requirejs
clean up client
enable controller