jguid function incorporated into bridgeit.js fix #9