Remove trailing spaces

Trailing spaces are prohibited in most style guides: [Rails](http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html), [GitHub](https://github.com/styleguide/ruby).

I remove it by script and then recheck fixes.

```sh
find . -name "*" | xargs egrep -s ".* +$"
```

Also I stay vendor JS in original view with trailing spaces.