re-arrange re.js and test.js
add benchmark