chore(upgrade): Replaced custom XHR upgrade views and js with a generic implementation