add storage.js for records managing