commonjs, desktop.js take snippets from queue in prallel (the java is something eclipse change)