Added functionality to verify that the swf is loaded and ready and that the js api is ready

This block is difficult to follow. Suggestion;

    if (!id) {
      return null;
    }

    // return a new Locomote object if we're in the global scope
    if (window === this) {
      window.Locomote[id] = new Locomote(id);
      return window.Locomote[id];
    }

    // Instance already initialized. Return it.
    if (window.Locomote[id]) {
      return window.Locomote[id];
    }

    // Init our element object and return the object
    window.Locomote[id].e = document.getElementById(id);
    window.Locomote[id].id = id;
    return window.Locomote[id];

Which saves indentation levels and is less `if-else-if`-prone which is easier to understand imo.