now passing url to storage task, moved storage_task() method from global.rs to window.rs