place js files to end of doc