Static Class is giving me an unexpected error in JS

Everything was going fine. Now when i initiate a static class like so:

static class myClassName{

}

I get an error stating ! Unexpected Token: static

What am i doing wrong when declaring this class globally? Does the js Script file name matter. My scripts are placed in the correct scripts folder too. It works without static prefix but that defeats the global purpose of the script.

Classes are never static…static means static, nothing to do with global. A class is always global.

–Eric

oh, ok. Sorry i may have gotten confused somewhere along the way. Thanks