Cosine Analysis of parsed website with DOM objects