removed unnecessary javascript