add function getelementidbyposition(x,y) in tb.html template and maketb.js for pb calling.