ImageScaler.js This guy just makes sure an element's background image always fills the screen, regardless of aspect ratio. Requires ImageInfo.js and jQuery Usage: var imageScaler = new ImageScaler($("selector"));