Moved global variables for the KLibraries to main.js