changed onLoad() to a mobile version
fixed remote_addr
made the ajax request async