This is the change that is needed to make using the template javascript on the embedded search work. 

:cold_sweat: template library outside template HTML