added arena javascript