pulled some stuff out into util.js, renamed airserv_ng to airsev_api, made client.js kinda cooler, renames some methods and variables for clarity.