CMS-2610 Implement rendering of content using javascript.
Fixed dependency conflict with Mustache.