Add AMD $ CommonJS support