added support for exclude with or without .js suffix