Create motiongallery.js