removed duplicate event handler
allow urls to be typed in without protocol