Never, ever, ever use jQuery wrapInner() method on your body element
Just don’t do it. http://stackoverflow.com/questions/10727002/jquery-document-ready-fires-twice
Achieving Developer Excellence with Automated Testing
Just don’t do it. http://stackoverflow.com/questions/10727002/jquery-document-ready-fires-twice
If you haven’t worked with JSON endpoints and/or Active Model Serializer much there’s some specific nuances to keep in mind…