Hi
An extra comma at the end of *function statement* results in Syntax Errorwhile saving.
Please find attached patch and review.
Thanks,Surinder Kumar