Create script.js

check inner window resolution