Javascript Cannot Read Property Replace Of Undefined Stack Overflow

Javascript Cannot Read Property Replace Of Undefined Stack Overflow