Convert tabs to spaces
Clean up variable declarations and put the id on the container div