Add explicit license text to end of readme (closes #74)
fix a few JSHint warnings