Added CSS style sheets for different screen sizes. Refactored main.js to include device ready function