Find current resource from javascripts/stylesheets