added intro page js sample