Set default period_start and period_end to "" rather than None, to enable direct embedding in javascript in template.