fix js bug in track_map partial