split javascript into separate files, for c9.io editing
split JS files