fixing profile page / created js file for it