Rearranging the js files into a more organized system