Add the JavaScript realization