[js] compiler: support large constants on function calls
[js] compiler: support constants