submission button javascript module