var observer = lozad(".lazy", {
	rootMargin: "25%",
	threshold: 0
});
observer.observe();

import IntersectionObserver from 'intersection-observer';
import Lozad from 'lozad';

let observer = Lozad('.lazy', {
	rootMargin: '25%',
	threshold: 0
});
observer.observe();

Use ES6 import for Portfolio JS dependencies