removed some old unnecessary javascript code I forgot about