6#

minor fixes for cross-browser consistency