preparing js vars into config objects for easier modularity. Need to evaluate which of these need to be globally available and which can be stored just within functions.