Rename javascript function cause will be called by gites.core refs #5026