naive approach to things
add easystar.js
make helper methods private