fix for js compression issue