Created viewportchecker.js