Switch out $.extend for custom merger.

Address #2.