A beep function for debugging and development purposes (works on Webkit only at the moment), should not be used in productive code