Query.js can retrieve dimensions of cube from queryAPI or its cache
Fix some CS and typos in Query component