added images for each device type & resolution, refactored main.js