Cleaned up the main app.js for easy reading.
Add comments and JavaDoc into the code for a more professional look.
Removed unused code for the Android side of the app.