Added ability to play sound and reset contentType to text/html after
change