Include ActionView helpers to use escape_javascript
Fix view bugs