remove js code for average type toggling on profile page
remove js ViewManager
fix js error