Add preview and description templates
Rename getHtml and use ajax call
Fix calls to getHtml