fix gruntfile to copy first then compile