fixed submit button layout, started js functions