fixing javascript include issues