Html Form Submit Javascript Function Syntax