[build] fix dropping `return window.kendo` nodes before bundling