added the new enter location event handler to all the pre location tags
updated the location event handler to include the pre tag