Moved CSS params to JS object, to remove more DOM elements