Fix less-middleware instantiation

Instantiate less-middleware object as expected in 1.0.x versions
Merge pull request #8 from calvinf/patch-1

Fix less-middleware instantiation