added jasmine testing lib, renamed tag to subId