It is very important for dynamic web applications, any js and css changes to become available to user (without need to refresh - reload browser page).
Everytime you modify JS file, use next version num (actually, you can use any other string, but ?version=n is more nice). So, you force user browser to retreive JS in case it is changed.
The same method can be applied for CSS.