fixing vidoe.js build issues