Add main javascript