Fix instrument jquery bug