Try / catch for input.type

@rev jbuchanan@
@bug W-2409292@
Merging origin/kgray/master-pending-ie8fixes into master