Create screen-width.js

an function to calculator the best width of webpage.