Use minified js and add dimension to images