Bug 888972 - Load frame script for first preloaded browser before swapping. r=gavin, a=bajaj