Adds main javascript file