Update fix for prompt in selectbox

Was not working in IE/chrome due to undefined value