minor fix to syntax in jquery