Removed heartcode dependence on the DOM

* Attached showLoading and hideLoading to Backbone.View prototype