minor fixes.  before trying jquery.