fix some js
Merge pull request #11 from pgolm/feature/rules-form

fix some js