Dynamic set to current duration.
Fix baseUrl
Merge pull request #61 from lossyrob/js/cleanup

Dynamic set to current duration.