GPII-288: Log settings for current token(s)

This JavaScript file is the first part of the scripts to log the settings for the currently logged in token(s). The other parts are scripts for Linux and Windows, as described at http://issues.gpii.net/browse/GPII-288#comment-11858.