Simplifying the loading of stylesheets and adding can details to gobal js variables.