add js to the mage connect package