Feature tests

using javascript to write to the dom this way is bad practice: you shouldn't need JS to render this, it could be done in the view