Added improvements to profile client side scripts.