adds videojs support in site.js and fixes invoice pdf bug