Update rwdimages.jquery.js

Refactoring