Replace of MySQL data with LocalStorage