added javascript thingy to check mine coords