fix inrect and get rid of dependency to draw_board.js
Merge branch 'master' of https://github.com/hkloom/phaseball