refactoring screen_size.js
fixing screen_size script