Simplify map marker script