sound alarm using javascript