another view fix

when requesting static resources:
File not found:
jar:file:/usr/local/logstash/logstash-1.1.12-flatjar.jar!/logstash/web/controllers/../public/js/flot/jquery.flot.js

the path includes ".." and "jar:". you need to work around both issues
by File.expand_path(path) and path.sub(/^jar:/, "")

https://jira.codehaus.org/browse/JRUBY-6970