Fix css classname and support HTML5 formaction attribute.