Remove unnecessary javascript