Fix tab JS and CSS upon page load