$.subscribe('handleJsonResult', function(event,data) {
var data = event.originalEvent.data;
if (data.VirtualWeb.status == 'error' ) {
// failure with error msg
$('#jsonResult').html(''+data.message+'');
}
else{
$('#jsonResult').html('An email will be sent to you shortly');
}
});
$.subscribe('cleanForgotPassword', function(event,data) {
$('#jsonResult').html('');
$('#forgotPasswordEmail').val('');
});