javascript concurrency engine + ruby integration + sinatra routes