main js and storage js files