cleaned layout test, added addEmptyRect
removed versions from js deps