Allow JS files to define custom set of extensions