Removed jQuery library from js example
Replaced $.each with coffee foreach