Adds javascript objects