games demo using JavaScript