Swap image for javascript wsd