Removed JS code that relies on firefox being used.

Fixes #26