include all the js code in main layout