changed regex filter for jshint


```php
//current
$s = preg_match('/^\.js$/', "public/js/general.js",$r);
print_r($r);
/*Array
(
)
*/

//new
$s = preg_match('/.*\.js$/', "public/js/general.js",$r);
print_r($r);
/*
Array
(
    [0] => public/js/general.js
)
*/
```