Fix bug where EasyStar was not defined for node.js