delete unused js and update title