Fix SyntaxError on middleware registration
Merge pull request #63 from lucasmazza/syntax-error

Fix SyntaxError on middleware registration