it was minified wrong, replaced everything with unmified versions and the bugs are gone