updated api url in unminified js