Remove unnecessary javascript files from layout.