Moving to strict javascript
Introducing schema middleware option