added middleware for both less and coffeescript