Update actionSheet.js

Add cancel function to handle cancel clicks in example.
Otherwise throws error when used in own code.