This appears to be defined in this file, though inclusion of this file is not within island_public_calendar.tpl

ubb_js/ubb_jslib.js:function get_object(obj)

That just might be a problem...