js fix to make user profile charts work again