avoids most infinite loops
Update helpers.js
getDirection: window.console commented out
parenthesis in Math.random ( )
dont look for wells if enemies far away
fix nearestEnemy, dont steal from allies
dont randomize if not staying, should heal more
dont look for allied mines
improve copyHealth safeness calculation
Merge pull request #2 from ranit8/test-on-codetester

update on master, keep test-on-codetester as stable