Creates a js object when a new project is added