Created an '_extend' utility method

Just wanted this to be a clean PR separate from the more major one(s) coming.

Added a new `_extend` utility method and did some very minor JSHint cleanup/tightening.