organized js files to separate them out into different files