interpreter class in interpreter.js and requestanimframe in requestanimframe.js