Getting the error "l is not defined"
Because of there there is error in JavaScript in HeaderBlock. in which there is a parameter "l" in js it is defined as only "l" but it should be "var l;" instead of "l", that's why getting "l is not defined.
I'm sharing the screenshot also.
Actually, that seems a mistake. "l" is a parameter of the function. There is no need for that "floating" l in there. Deleting it should be fine.