Add back gruntjs support and some export env