Adding JSNI code for learning.