fix jquery plot