VID-2009 fixing sloth to work with elements with offset top of 0 and js-beautify