Fixing some syntax errors. Nothing major.

- fix syntax errors
- ensure camelize is wrapped in <%= %> correctly