how to make a music player using javascript