new way to notify tophatready JS