Break up the JavaScript into server/client folders