Main js file for project

Contains my code as well as reddit.js down below with Sahilm's license