Restore the original structure of the JS