added copyright javascript