added debugging msgs to yarn, changed ajax requests to relative paths