[PATCH 2/3] jscript: Use standard C functions for memory allocation in jscript.c.