Added javascript rewriting for IMG assets hosted in the wiki

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>