added permalink onblur function from name field