Pull chart JS into separate file