Added license header to js