Add javascript objects