Item tracking javascript fix

-Corrected bug involving converting time to 24 hour format