At times I come across at this form of using should:
Should we wish to cancel these semantic actions—sometimes termed the default actions—of the event, we simply return the value false from the event handler.
It always starts with ‘should’. I understand it as ‘If we want to…’. I couldn’t find definition in my grammar book.