Processing has both Java and Javascript versions for creating interactive applications on the web.
An interactive Processing app to demonstrate OLS
More to come...