added javascript bits to add selected moves to 'responding to' form.