Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem