designing layout / gallery with jquery + coffeescript