diff --git a/cas.batch.inc b/cas.batch.inc
index aedaa52..092e9a9 100644
--- a/cas.batch.inc
+++ b/cas.batch.inc
@@ -22,7 +22,7 @@ function cas_batch_user_add($cas_name, &$context) {
   // Check if the account already exists.
   $existing_account = cas_user_load_by_name($cas_name);
 
-  if ($existing_account == TRUE){
+  if ($existing_account == TRUE) {
     $uri = entity_uri('user', $existing_account);
     $context['results']['messages']['already_exist'][] = t('<a href="@url">%name</a>', array('@url' => url($uri['path'], $uri['options']), '%name' => $existing_account->name));;
     return;
diff --git a/cas.js b/cas.js
index 2d077d4..72a5563 100644
--- a/cas.js
+++ b/cas.js
@@ -1,3 +1,7 @@
+/**
+ * @file
+ * Provides CAS JavasScript functions.
+ */
 (function ($) {
 Drupal.behaviors.cas = {
   attach: function (context) {
diff --git a/cas_server.module b/cas_server.module
index 53f8169..a386852 100644
--- a/cas_server.module
+++ b/cas_server.module
@@ -323,7 +323,7 @@ function cas_server_logout() {
   // Due to the order of sessions being destroyed on a client site vs CAS server,
   // there is a workflow that would allow the user's session to not exist at this point.
   // Skip triggering user logout related processes if there is not a valid user in session.
-  if(user_is_logged_in()) {
+  if (user_is_logged_in()) {
     // Log the successful logout process.
     watchdog('user', 'Session closed for %name.', array('%name' => $user->name));
     // Tell modules about the logout.
