Fix Chrome handling in Chrome specific scripts

The magic bullet wasn't working properly (at least in Chrome v26); allTabs of allWindows returns a nested list, so selecting item 1 of that list picks the currently selected window. Instead, a nested repeat lets the script work for multiple windows properly.