using UnityEngine.SceneManagement: How to use, etc?

This site says I have to use the line

" using UnityEngine.SceneManagement; "

in order to use the function LoadScene. I assumed this just goes on the top of the script as is, and I did so, placing it right beneath the pragma strict. However, I am getting error “Assets/LoadScene.js(2,6): UCE0001: ‘;’ expected. Insert a semicolon at the end.”

here is the script:

#pragma strict
using UnityEngine.SceneManagement;
public static function LoadScene(sceneName: String, mode: SceneManagement.LoadSceneMode)
    {
        mode = LoadSceneMode.Single;
        SceneManager.LoadScene(sceneName);
    }

As far as the official Scripting document states, there doesn’t need to be a semicolon in (line 2, position 6). Can anyone explain why the compiler wants me to a semicolon somewhere where it doesn’t belong?

In javascript, use

import UnityEngine.SceneManagement;