Fix order of JS scripts
Add dependency on MVentory_API extension