Modified JS event so that it complies with standards

Changed onClick on option to onChange on select, now works on WebKit browsers