add the rely.js and the test cases