moved js libraries

Moved the js libraries (backbone, underscore, require, jquery and text)
into the project tree.
Added some commenting to explain setup and code