fixed localStorage memory leak
fixed remove functions
fixed ajax tests