':param http_resp: A http response object that contains a document of
type HTML / PDF / WML / etc.
:return: True if the document parameter is a string that contains JS'

@staticmethod
def can_parse(http_resp):

    response_content_type = http_resp.content_type.lower()
    if (('javascript' in response_content_type) or ('ecmascript' in response_content_type) or ('jscript' in response_content_type)):
        return True
    return False
