add require js and add vendor.js