removed javascript loading moved to main template for faster page loading