Missing space after function:

"function" + " " + "(" ...