support require.js option.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
revmoe test/test.js

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>