Add license to js main file