make compiled js more boilerplate