Add license header for coffee & js files

Closes #352 and adds license field to package.json.