Separate 2 deadlinesDB into 2 JS