Aquarius.module.define('Module/Parallax', { config: { }, init: function () { const image = document.getElementsByClassName('parallax1'); const p1 = new simpleParallax(image, { delay: .6, transition: 'cubic-bezier(0,0,0,1)' }); const image2 = document.getElementsByClassName('parallax2'); const p2 = new simpleParallax(image2, { delay: .8, transition: 'cubic-bezier(0,0,0,2)' }); } });