Split functions in two files
Change filename of main JS
Add some comments
Move show/hide spinner functions to frontend functions
Add logging library
Replace console.log()'s with specific loglevel log function
Add logging entry
Log logging level (ಠ_ಠ)
Adjust logging sentences