soften the file restriction for javascript jobs

jshint was not being run when a json file or the .jshint* files were
changed.  This slightly enhance the regex to take care of those cases.

In a similar way, JSDuck does documentation of json files, add them to
the files filter.

bug: 49808
Change-Id: I6b1120c1b8c382ba4d64186efad363c47052a7c9