add jshintrc and fix issues

Initial stab at a jshintrc. Only real error was a copy/paste of `relationshipPathName` -> `relationshipPathOptions`, but nice that jshint exposed.