[PATCH 02/10] jscript: Store the necessary function and variable info in the TypeInfo.