major changes

anonymous functions, cross-browser compatibility, improved
positionSequenceChange method