added debug option for js minification