[js] Adding lazyloading for images and some CSS cleanup