Store shapes in browser storage.