Some js magics and profile page