Easy corner alerting in jQuery