#939962 by rwohleb, chx, quicksketch: Fixed File field allowed extensions JS broken in Chrome on OS X