move variable assignment outside of grunt.initConfig()

Variable cannot be assigned within function.