removed unnecessary javascript code from tut6