Fixed lazy.js tests
Merge pull request #1749 from Bartvds/def/lazyjs

Fixed lazy.js tests