Moved payload.js out of lib and added aliases to detectors.js