Add a few variables into the closure function to eliminate lint warnings.
Updated compress function of grunt tasks