Playing with javascript and jquery and localStorage