Added this.$el.replaceWith to render function when renderMethod eq replace