got rid of all that unnecessary javascript