updated JS
cleanups