Bug 1045914 - JavaScript Warning