def cleanHTML(html, lowercase=False, removeNonAscii=False, cutoffFooter=False, descriptionOnly=False, replaceDict=None):
	""" 

	Args:
		html: html string
		lowercase: boolean indicating if the html should be sent to lowercase
		removeNonAscii: boolean indicating if the html should have non ascii characters removed
		replaceDict: a dictionary where keys represent words to be replaced by their values   

	Returns:
	    The html with the following adjustments:
	    	Replace following with spaces: ( ) /
			send to lowercase
			remove non ascii
	"""
	if lowercase:
		html = html.lower()

	if removeNonAscii:
		html = ''.join([i if ord(i) < 128 else ' ' for i in html])

	if replaceDict:
		for word, replaceWord in replaceDict.items():
			html = html.replace(word.lower(), replaceWord)

	if cutoffFooter:
		html = html.split("html = html.split(" ")")
		html = html[0]

	# if descriptionOnly:
		# "jobsearch-JobComponent-description"
	return html