Merge pull request #1 from rockbot/master

fixes full.js sample code