Adding license headers to .js files

Not sure if you want this, but it's common for .js files to identify the licensing (in line with the MIT license). I've added it to the old licenses and incorporated it into the index.js and Makefile. I went with the common /*! approach to a non-minified comment rather than the @license item that I've seen showing up recently.