a browserify transform which export html to string