Generate both html and jshtml