refactor in homecontroller
moved JS from view to main.app.js
actual fix
Merge pull request #1 from iChoosr-BVBA/1541014CMS_html_not_properly_escaped_when_saving

#1541014 cms html not properly escaped when saving