Enclose faye.js in function to avoid leaking strictness