Fix setting of loading CSS
Add JavaScript for basic tabs