Added author & licensing info to js file