Fixed JavaScript loading.