updated all library references to JS API 3.10
refactored arrays
refactored css into separate file
refactored css directory structure
refactored css, loadingIcon and grid listeners
fixes #8