Improved model autoload regex

Adding the end of line marker should make the model autoload regex not match files that have stuff after the extension, like `*.jswhatever` or `.js.swp`