After a code review - disable event pageshow and add console loggging for ajax error.