code added for hiding author and scales and also getting questions of a scale through AJAX