integration ruleJS with ht
link to demo page