Bug 831457 - [Browser] JS prompt does not focus on the field r=benfrancis