Restores the JS assets