diff --git a/README.txt b/README.txt
index 2a1ff0a..c7a0af9 100644
--- a/README.txt
+++ b/README.txt
@@ -17,7 +17,7 @@ Download the modules that DrupalGap is dependant on:
 
   Views Datasource (http://drupal.org/project/views_datasource)
     Views JSON
-  
+
   Services (http://drupal.org/project/services)
     REST Server (this module requires the SPYC library, see below for info)
 
diff --git a/drupalgap.info b/drupalgap.info
index e70c934..350a070 100644
--- a/drupalgap.info
+++ b/drupalgap.info
@@ -1,8 +1,8 @@
 name = DrupalGap
 description = Provides a bridge between Drupal and mobile device applications written for PhoneGap.
-package = "Mobile"
+package = Mobile
 core = 7.x
-configure=admin/config/drupalgap
+configure = admin/config/drupalgap
 dependencies[] = services
 dependencies[] = rest_server
 dependencies[] = views
diff --git a/drupalgap.js b/drupalgap.js
index d845e73..8151b86 100644
--- a/drupalgap.js
+++ b/drupalgap.js
@@ -1,29 +1,29 @@
 /**
  * @file
- * This file contains the javascript implementation for the DrupalGap module.
+ * This file contains the JavaScript implementation for the DrupalGap module.
  */
 (function ($) {
   Drupal.behaviors.drupalgap = {
     attach: function (context, settings) {
       try {
         // Make a test service resource call to system connect and inform the user of the results.
-        jQuery('#drupalgap_system_connect_status_message').html("<img src='" + Drupal.settings.basePath  + "misc/throbber.gif' />");
-        jQuery.ajax({
+        $('#drupalgap-system-connect-status-message').html("<img src='" + Drupal.settings.basePath  + "misc/throbber.gif' />");
+        $.ajax({
             url: Drupal.settings.drupalgap.services_endpoint_default + 'system/connect.json',
             type: "post",
             dataType: "json",
             error: function (jqXHR, textStatus, errorThrown) {
-              jQuery('#drupalgap_system_connect_status_message').html("<div class='messages error'>" + errorThrown + "</div>");
+              $('#drupalgap-system-connect-status-message').html("<div class='messages error'>" + errorThrown + "</div>");
             },
             success: function (data) {
               msg = Drupal.t("The system connect test was successful, <strong>DrupalGap is configured properly!</strong>");
-              jQuery('#drupalgap_system_connect_status_message').html("<div class='messages status'>" + msg + "</div>");
+              $('#drupalgap-system-connect-status-message').html("<div class='messages status'>" + msg + "</div>");
             }
         });
       }
       catch (error) {
         alert(Drupal.t(error));
-      }    
+      }
     }
   };
-})(jQuery);
+}(jQuery));
diff --git a/drupalgap.module b/drupalgap.module
index 5555071..db606c5 100644
--- a/drupalgap.module
+++ b/drupalgap.module
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * A module to provide a bridge between Drupal websites and PhoneGap mobile
@@ -10,12 +11,12 @@
  */
 function drupalgap_help($path, $arg) {
   switch ($path) {
-    case "admin/help#drupalgap":
+    case 'admin/help#drupalgap':
       // Show documentation URL.
       $doc_msg = t(
-        "The online <a href='@doc_url'>DrupalGap Documentation</a> contains
-         more information on help topics.",
-        array('@doc_url' => "http://www.tylerfrankenstein.com/drupalgap")
+        'The online <a href="@doc_url">DrupalGap Documentation</a> contains
+         more information on help topics.',
+        array('@doc_url' => 'http://www.tylerfrankenstein.com/drupalgap')
       );
       return "<p>$doc_msg</p>";
       break;
@@ -44,7 +45,6 @@ function drupalgap_menu() {
     'description' => 'The status of DrupalGap.',
     'page callback' => 'drupalgap_status',
     'access arguments' => array('administer drupalgap'),
-    'type' => MENU_NORMAL_ITEM,
     'file' => 'drupalgap.pages.inc',
   );
   return $items;
diff --git a/drupalgap.pages.inc b/drupalgap.pages.inc
index dfec9fd..cd39c96 100644
--- a/drupalgap.pages.inc
+++ b/drupalgap.pages.inc
@@ -1,39 +1,32 @@
 <?php
+
 /**
  * @file
- * Implements hook_menu() item page callback functions.
+ * Provides page callback functions for DrupalGap.
  */
 
 /**
  * Returns the HTML for the DrupalGap module status page.
  */
 function drupalgap_status() {
-
   // Add drupalgap javascript settings to Drupal settings.
-  drupal_add_js(array(
-    'drupalgap' => array(
-      'services_endpoint_default' => base_path() . '?q=drupalgap/',
-    ),
-  ), 'setting');
+  drupal_add_js(array('drupalgap' => array('services_endpoint_default' => base_path() . '?q=drupalgap/')), 'setting');
 
   // Add drupalgap javascript.
-  drupal_add_js(drupal_get_path("module", "drupalgap") . "/drupalgap.js");
+  drupal_add_js(drupal_get_path('module', 'drupalgap') . '/drupalgap.js');
 
   // Set div id for system connect status message box.
-  $div_id = "drupalgap_system_connect_status_message";
+  $div_id = 'drupalgap-system-connect-status-message';
 
   // Build more info text and help link string.
-  $msg = t(
-    'Please refer to the <a href="@help_page">DrupalGap Module Help Page</a>
-     for more information.', array('@help_page' => url('admin/help/drupalgap'))
-  );
+  $msg = t('Please refer to the <a href="@help_page">DrupalGap Module Help Page</a> for more information.', array('@help_page' => url('admin/help/drupalgap')));
 
   // Create output fieldsets.
   $output = array(
     'drupalgap_system_connect_status' => array(
       '#theme' => 'fieldset',
       '#title' => t('System Connect Status'),
-      '#markup' => "<div id='$div_id'>&nbsp;</div>",
+      '#markup' => '<div id="' . $div_id . '">&nbsp;</div>',
     ),
     'drupalgap_information' => array(
       '#theme' => 'fieldset',
diff --git a/drupalgap.resource.inc b/drupalgap.resource.inc
index 4b295c9..cc8dc77 100644
--- a/drupalgap.resource.inc
+++ b/drupalgap.resource.inc
@@ -1,11 +1,12 @@
 <?php
+
 /**
  * @file
  * This file implements the DrupalGap service resource call back functions.
  */
 
 /**
- * Determine whether the current user can access a drupalgap resource.
+ * Determines whether the current user can access a drupalgap resource.
  *
  * @param string $op
  *   String indicating which operation to check access for.
@@ -23,6 +24,7 @@ function _drupalgap_resource_access($op = 'view', $args = array()) {
 
 /**
  * Returns a collection of content types from the {node_type} table.
+ *
  * It also bundles other available information about each content type
  * with the return results.
  *
@@ -31,20 +33,15 @@ function _drupalgap_resource_access($op = 'view', $args = array()) {
  *
  * @return object
  *   MySQL object results from the {node_type} table
- *
  */
 function _drupalgap_resource_content_types_list($options = array()) {
-
   // Grab content types.
   $sql = "SELECT * FROM {node_type} ORDER BY name ASC";
   $content_types_result = db_query($sql);
 
   if ($content_types_result) {
-
     $content_types = $content_types_result->fetchAll();
-
     foreach ($content_types as $i => $content_type) {
-
       // Grab comment settings for content type.
       $names = array(
         'comment_anonymous_' . $content_type->type,
@@ -68,14 +65,9 @@ function _drupalgap_resource_content_types_list($options = array()) {
           $content_types[$i]->$variable_name = unserialize($variable->value);
         }
       }
-
     }
-
     return $content_types;
   }
-  else {
-    return NULL;
-  }
 }
 
 /**
@@ -144,7 +136,6 @@ function _drupalgap_resource_user_roles_and_permissions($data) {
  *   Array of variables from the variable table.
  */
 function _drupalgap_resource_system_site_settings() {
-
   // Grab column names from the variable table.
   $names = array(
     'admin_theme',
diff --git a/drupalgap.services.inc b/drupalgap.services.inc
index 1336224..73ddf4f 100644
--- a/drupalgap.services.inc
+++ b/drupalgap.services.inc
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * DrupalGap's implementation of Hooks provided by Services
