Bug 915684: Fix for url var not in scope after refactor. r=alive