Adding a part of JavaScript