do {
if (some condition){
some code;
break;
}
if (some other condition){
some code;
break;
}
} while(false);
$.fn.onEnterPress = function(fn) {
this.each(function() {
$(this).bind('onEnterPress', fn)
}
);
return this
};