Change payment refund back to javascript; Use logger.info instead of debug; remove notification code