Added badge notifications to templates, cleared up js/ directory