[CXF-4881] Updates to the js tests to make the tracer act directly as a function which is what typeof returns.

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1453958 13f79535-47bb-0310-9956-ffa450edef68