Add very basic compile to JS script

Need to generalize this better for other sites.

Paired with @cmkcmk