Configuring JS tests environment

Signed-off-by: Tiago Assuncao <thiagoribeironiquel@hotmail.com>
Testing JS, method: calculateRemainingSteps
Testing JS method: calculateStepsPerPatch
Testing JS: If method exists
Merge branch 'js_tests' of https://github.com/rodrigo14/pe-na-estrada into refactoring_js