in main template add block javascript -> solved the js script loading issues