update major file and add some js