remove unused jsuri library
add a declarative API for setting the best image

also, this stops scaling on elements that have
max-width or max-height set