log total js loading time