try to fix the max audiocontexts issue in chrome

also apply jshint