plugin to write html using Javascript