main js clean up
main js clean up