Fix for rails 4 globbing

Problem: 

https://travis-ci.org/railsware/js-routes/jobs/8916141

Rails 4 leave "*" in keys of globbing.

Solution: check it and remove in globbing js function.