More closely match SpiderMonkey TypeError messages.
Bump NPM version to 0.3.6 in preparation for publishing.