added missing <div> closure for javascript