improved reflection on js.Object, fixes #25