chore: fix license info and some jshint errors