add level order and conditional js file loading
reorganize gruntfile
change source of main js file