Viewer now updated to include javascript timeline function