Icl.github.com is a project mainly written in JAVASCRIPT and RUBY, it's free.
Interactive Cognition Lab Github Page