Improved "tabs" system with $_SESSION, jslint