Prepopulating fields embedded using javascript.