create a js template with variables
make the generate command spit out js files