Now using ERB to generate JS and HTML