added g_object.js, minor changes