copied Amit's changes for Geo targeting into JSP