javascript timeline dataviewer using MEAN architecture and Phonegap for mobile