Changed the head -n -1 call to use sed instead for building vendor.js