Updating the core js rule

The rule you have there fails on some assets being requested on core/js folder.

eg: index.php/core/js/jquery-ui-1.10.0.custom.js?v=1a2b3c4d...
Merge pull request #9 from redian/patch-1

Updating the core js rule