JS can do anything that a human can do. If you look at what the Logical Gaia program can do now, just throw in your two cents for what it needs. Or really, for what you think Gaia Online could benefit from.

Right now the API is mostly just easy GUI stuff, IIRC. Stuff you won't really need until the core of a program is finished.