Fixed globalObject object bug and updated to v0.3.1