guille/ms.js — pull request #14 by dciccale (2012-10-23 15:51:33+00:00)
Title: small code refactor

- auto-create milliseconds hash for better performance
- use ternary operator in main function
- dry the format function code