cleaned up html.  fixed several cross browser bugs.