bump to 4.0 version
allow the version to be passed with the `version` param
only build the css url once