update site controller and several other js files.