Improved loading times for default theme by changing script load order