Continued to refactor main.js, swapping out jquery for native methods