CRM-12463, formRule js fixes
Merge pull request #632 from kurund/CRM-12463-fixes

CRM-12463, formRule js fixes