swagger js reverted