fix youtube reload issue and jshint warnings