store js working