Code improvements:

- implemented function to change CSS classes randomly
- implemented function to change CSS classes by array order