Made `<javacoption>` work the same as `<define>` adding optional `key` and `value` attributes