more bug fixes in the javascript
bug fix on ui
Fixed JPA relationship between JpaWorkflowEmailRuleImpl and JpaEmailTemplateImpl as a @ManyToOne