simplify even more..

so little code, so rm locator.js and put locator func inside demo