javascript do not submit form

JavaScript
alert("hello world");
alert("it is a test");
Source

Also in JavaScript: