Fixing syntax with jQuery last() function.