Payment method templates are using pure JavaScript now