add `.join();` here, then you can include latlng like this `, ['+latlng+']);`. This could be easier to read and shorter, too.