Moved path component of filename in to the 'dir' attribute where applica...

...ble.

```ruby
File.open('/Users/jburgess/git/aodn-portal/grails-app/views/_js_includes.gsp').each do |line|
  puts line.gsub(/dir: '(\S+)',\s+file: '(\S+)\/(\S+)'/, 'dir: \'\1/\2\', file: \'\3\'')
end
```

For you @dnahodil