get even and odd elements using mootools