trying to resolve js issue in user show page