fix for issue #3, click events now work in firefox