make JQuery work with -D js-flatten