updated javascript client to match new API
improved logging level to reduce noise