Reverted JS changes