the getSequenceNode returns the whole SeqenceNode instead of just targetActivity
minor improvements on comments
Merge pull request #3 from lbondaryk/amsproxy

Modification on amsproxy.js & unit test after code reviews.