Converted hgTracks to better show track label and communicate with php part.