removed unecessary javascript event