Added license to js file header