Fix bugs, js alert("hello world") now works.