Rails engine for displaying local times using JavaScript