title: Javascript convert string of time HH:MM:SS in HH:MM
body: <p>I have a string of time in the format "HH:MM:SS". I want only "HH:MM". How can I do?
  For example I have "15:50:30". And I want to obtain with javascript "15:50".</p>