Attempting to repair static comments and generalizing usage of JQuery