Fix aspect renaming after a regression caused by jquery upgrade

close #4822 :)