Fix firefox JS bug on viewing revision
Merge pull request #1477 from tautrimas/master

Fix firefox JS bug on viewing revision