Use custom JavaScript template in Pipeline.