jslint fixes
refactoring, functions: makeScreens, makeAndSaveScreen, getParameters