cleaned up and jquery-ized playSound() function.