import requests


def get_filterjs(url):
    """
    Get filter.js file
    :param url: base url for timetabling system
    :return: filter.js text
    """
    url = url + 'js/filter.js'
    source = requests.get(url).text
    return source