add css url reference resource versioning and option refactor