fix javascript error caused my markers too close to the first sample