added js example for 'storage' api