added javascript to fill out form value