Fix +outputPath+ javascript syntax bug