Remove trailing comma
Fix filenames for javascript
Add filenames to router code blocks
Fixed syntax error