changed formatting of onclick coordinate output