test from js2coffee