I still have some bugs with scoping but it's kinda useful, even for
larger js-files.
Not sure if this actually works any better but it seems a little more right.
More js work