APD-7: fix JavaScript Style
APD-7: start working with the first group