added info about the functions in JavaScript