Split inital js into seperate modules