compress and concatenate JS files for snippets