fixed #39, javascript validation form