Updated JavaScript metrics to measure dependencies and superclasses

Works for the ancient version of require.js used by TAL.