Removed timespan's dependency on jQuery and angular