adds javascript file