Breaking out js files a bit