split vendor.js example.js and infinitescroll.js generation