Remove unnecessary javascript.