1 change:
1 - fixed indentation for some stuff within document.ready callback