fix test media and sintax for jslint