Why is this javascript breaking my other scripts?

Printable View