added these into the document to fix JS errors