Removing jquery ui adding localstorage