Remove query strings from static content

Added a function to remove query strings from static content