JavaScript and LiveScript implementation

`_taskIdCounter` seems to be unused: as I understand it the management of the task ids is done inside `Task`. To keep the different language versions similar I'd rather have the task ids managed/generated outside the task like in the Java version. (Yes the Ruby and C# version of the code base are still like Samir's original but maybe I or somebody else might provided a "library interface" version for those languages).