fixed jumping and cleaned up html indentation, added comments to scripts