Fix a typo in javascript code

Hi,
I've fixed a little typo in a javascript code which prevent us to use triggers and select branches for post receive url.