Small js warning fix for firefox