[js] don't add __class__ to Array.prototype (closes #2060, closes #1909)
Merge pull request #2567 from nadako/js_array_typecheck

[js] don't add __class__ to Array.prototype (closes #2060, closes #1909)