add javascript& mod main page in order