def test_js_file():
    response, status = make_request('/plgapp/plgapp.js')
    if status != 200 or 'PlgApp base' not in response:
        print response
        return_critical('Plgapp.js seems down or invalid.')