Fix for Firefox.
Added travis ci config.