Cursor bug fix/code cleanup

Removed a line that was causing a Django error, and deleted console.logs.