• Directly behind the closing bracket in the last line simply add: .replace(/null/g,"") instead with "" (=  nothing)  you can replace null with whatever string or number you want. Rainer 
This question is closed.