jhonnel09,
You need to create a global variable, to determine whether you music is in its on/off state (i.e. on=0, off=1).
You can save your variable using WebStorage.
When your project starts, check to see if the variable is 0 or 1, and use this to determine whether the music should be on or off!
Hope that helps.