Improved code for placemark website.