Updating the SimplePush example code to fall in line with recent AG-js changes
fix variable reference issues in SimplePush sample