Made page faster using localstorage