getting rid of useless .js files