added RexToJs package