Evaluation of some task planning stuff with JavaScript