VID-1333 removing some funky wrapped chained method calls after js-beautify