using camelCase instead of snake_case in random.js

Renaming array_element to arrayElement and object_element to objectElement, so that it is more coherent to the naming convention of the project.