services.js: added comment for new written function, formatted the code
services.js: added comment for new written function, formatted the code

clemens-huebner/amos-ss16-proj8,clemens-huebner/amos-ss16-proj8,clemens-huebner/amos-ss16-proj8