fixed bug related to removal of JS.call(JS[])