Bug 25059 part 2: removing other instances of number in favour of long
Bug 25063: use id instead of n in window.frames[] example
Adding thanks to Andrey Botalov for the work done in raising bugs