quick way to get this working in xulrunner