Added JS for storage