bugfix: create table only once, not for every index :)

wrong curly brace position
save bookmarks and hidden columns to localstorage