Updated beacon-0.1.0.js and unit tests.