Changes in JS Functions - task 3

support of case sensitive and case insensetive