refactor riscript with riscript2
added riscript2.js