use exports.initJSInterpreter
remove use of codeFunctions alias params, use actual function names
cast blockId to String in case we are calling out from the JSInterpreter