Simulate Etrian Odyssey's Battle System on HTML5+CSS3+JavaScript