fix formatting and add jquery that works in the console