Create viewport.js