Centralize wysiwyg code for livepage
Merge pull request #2856 from colemanw/js

Centralize wysiwyg code for livepage