add js support to themes
Merge pull request #1490 from loomio/themes-js

add js support to themes