fix css, and javascript bug when there are multiple submit buttons