Converting Time module to JS.
Adding comment about internationalization.