[CDE-406]: fixed javascript unit tests
Merge pull request #207 from davidmsantos90/master

[CDE-406]: fixed javascript unit tests