move main js file out of lib
move main js file out of lib