Moved JS files; initial commit of packaging files

Moved JavaScript files to src directory, initial commit of packaging
JSON files for Bower, NPM, etc.