changes made to support js code minification