A real-time reddit application for the smartphone using apache cordova