Pull dashboard JS into separate file