Consolidating JS into seperate script files