Update duration.js

Added missing semicolons to make JSHint happy.