adds licenses to javascript and adds Project License (apache)