Fixed issue #61.

Proposing a 'temporary' solution for issue #61. It seems that the jQuery height, and css properties are extremely slow in Firefox for reasons I don't know. I replaced these with the native javascript DOM equivalents. See comments for more info.