Drop Chrome <=23 workaround in input listener
Fix misnamed variable