Stackmob custom code