Removed the definition of a javascript function