added JavaScript demo that uses objects - combat2.js / combat2.html