Add new JS files for separating out js code