fix(Core): fix issues with the edge browser
fix(Core): fix issues with the edge browser

The first test was not working as console is always
defined whiel the methods may not be.

Kitware/vtk-js,Kitware/vtk-js,Kitware/vtk-js,Kitware/vtk-js