Remove duplicated javascript funcion in sound page template