Changed get position functions. Should fix issues with different env.
Merge branch 'master' of github.com:motokimizoguchi/javascript-breakout