Remove need for IIFEs in some Gearfiles

Removes the need to wrap some Gearfiles in IIFEs, while keeping backwards compatibility.

Due to how they are currently run, Gearfiles beginning with the "var" keyword fail with a [SyntaxError: Unexpected token var], which is always a big WTF moment.
This PR solves this issue, making the usual IIFE workaround useless.