Fix to pause sounds when iOS device is locked or when Safari goes into the background.

Signed-off-by: Kipp Ashford <kipp@seven2.net>