Annoying JS warning fix.