just making code work again

just fix some syntax errors
big update

added second div to mainhtml just in case
added battlemenu code to js