fix for jade 1.x
added #index
fixed ajaxShotToast