messing around with js feature for the profile page