Issue in detectio of options.root

In my case, i have .js files with parameters:

´´´ ruby
< script type="text/javascript" src="/jq/markitup/jquery.markitup.js?v=1.x.x" >< /script>
´´´

Your detection doesn't work with that format ;)

Best Regards,
Alexander Bulei