How To Use Javascript To Patch Your Documents