remove extensions afer .js and .css