2.2 javascript

brought over milo's 2.2 changes.  This is not backwards compatible, so bumped version to 4

specifically: people.identify is gone.