Bug 1028543 - Fixed issue by checking that stopTone function exists. r=v...

...ingtetun