Add javascript object model.