javascript done started integration