Adds specs for previous commit.
Adding json.erb views actually fixes the sidebar drag and drop. Certainely a better way to do it, but I want to release first.

Fixes #380