stop coordinates to html instead of js