updated to latest swagger-js