Adding fix to make app work on Firefox.