Allow addon/ to contain any known JS filetypes.

This allows usage of `*.coffee` (or any other `js` type preprocessor).

Fixes #2046.