New: js submit event