Reordered and declared vars for warnings in tabs.cljs and thread.cljs