[NF] Fixed jquery script for update.