Adds JW 5 example and docs. Syncs lib with master