Convert MyCodeSandbox to jQuery