added main js script