switched from one big JS file to file structure in client, server, common directories
added underscore package