Bug 943542 - Fix JS error from clicking on URL bar in Metro. r=jimm