move define functionality into separate function
i guess the Mayan's were wrong
migrated to grunt 0.4