Fixed errors in TRSsearch widget that was causing the dojo build system to fail.