This is a common problem that may also affect the other mobile devices too, ie Android.
The reasoning behind it is that the browser JavaScript engine is shutdown (after a minute or so) when the browser is minimised. You hardly want some webpage animating some advert all day long in the background of your phone that you did not even know was there in the 1st place and then you complaining that the phone died after 2 hours in your pocket when you were not even using it.
Agreed that the case for audio is different. You can't see it, but you can hear it while you go about your business.
Reviewing on an iPhone6 iOS8 now... And I see that the audio title still does not work in the locked screen / play-center. You get the huge url instead... They broke that after briefly making it work in iOS6 I believe. But since you can now play 6 pieces of audio together, which one would you display in the play-center title area?!? I suggested to Apple that they use the last one told to play. But, i'm off topic.
The next and previous buttons now do nothing too. They used to jump to the beginning or the end of the piece of music. The play/pause button work in the play-center.
Yep, when the song ends it stops.. And then you unlock the phone and the browser continues - since I locked the screen with the browser open.
The only solutions continue to remain either putting all the music into 1 epic file, or to use a streaming server.