revamped entire js, added activity & private tab