VE-1074 Remove double jQuery, add comments and new variable