JSHint fixes

Also Add copyright to README