jshint and fix drawtext