fixed async and some jslint issues with upnp client lib