Javascript Facebook wrapper for abstracting functionality into useful functions regardless of external FB Js changes