ripscript interpreter in javascript.