tied js/hbs minification to 'debug' compilation flag. Fixes #1