結果 : how to make a function parameter case insensitive javascript