reorganize grunt task a bit to remove grunt dependency