adds javascript files