Tests for empty object and accessing 0 in array
And updated browser tests
Docstrings and handle empty object
Explicitly hoisted some vars
Version 0.3.1