Fixed a bug that was breaking firefox.
Yay webdev!