cleaner js and css calc