refactoring ground.js
editor spec also verify button labels
Merge pull request #80 from folieadrien/refactoring-editor

refactoring code editor