Change working directory for JSDuck generate script

...so that it can be used without cd-ing.

Change-Id: I8e75b7348dfe0d3bd7185899bfeecbe63de11161