[JS] change call_t prototype so that function is not a separate param, but
passed in argv[0]. this serves several purposes:
1. Better compliance with ECMAScript
2. Smaller number of parameters for function calls (less stack use - quicker and
    more memory efficient)