Fixed improper parameter to _send_reply() and added support for mobile browsers.