May class static-function be written inside a class?
Not naturally, no. You'd have to use libraries that let you use a nicer syntax for defining classes. There's no one standardized library I can point you toward. Most of the major libraries -- such as YUI, Closure, and Dojo -- each have their own
Great wit and madness are near allied, and fine a line their bounds divide.