diff --git a/dprof.module b/dprof.module
index 020de2e..1596ad3 100644
--- a/dprof.module
+++ b/dprof.module
@@ -2,7 +2,7 @@
 /**
  * Implementation of hook_permission().
  */
-function dprof_permission( ){
+function dprof_permission(){
   return array(
     'access dprof information' => array(
       'title' => 'View drupal profiler information',
@@ -26,7 +26,7 @@ function dprof_boot() {
 /**
  * Implementation oh hook_init().
  */
-function dprof_init( ){
+function dprof_init(){
 
   // Don't mess with drush
   if(function_exists('drupal_is_cli') && drupal_is_cli()){
@@ -34,25 +34,25 @@ function dprof_init( ){
   }
   // Check for drupal core update and try to update overrides
   if(VERSION != variable_get('dprof_overridden_version', 0)) {
-    if(dprof_create_overrides( )) {
+    if(dprof_create_overrides()) {
       variable_set( 'dprof_overridden_version', VERSION);
     } else {
       drupal_set_message(t('Dprof overrides seems to be from another version of drupal and rebuilding them has failed.'), 'error');
     }
   }
   drupal_add_css(drupal_get_path('module', 'dprof').'/dprof.css');
-  drupal_add_js( 'jQuery(document).ready(function( ){
+  drupal_add_js( 'jQuery(document).ready(function(){
     jQuery(\'#dprof_hide\').click( function(e){
-      jQuery(\'#dprof_tabs\').hide( );
-      jQuery(\'#dprof_show\').show( );
+      jQuery(\'#dprof_tabs\').hide();
+      jQuery(\'#dprof_show\').show();
       jQuery(\'body\').css( \'marginBottom\', \'0\');
-      e.preventDefault( );
+      e.preventDefault();
     });
     jQuery(\'#dprof_show\').click( function(e){
-      jQuery(\'#dprof_tabs\').show( );
-      jQuery(\'#dprof_show\').hide( );
+      jQuery(\'#dprof_tabs\').show();
+      jQuery(\'#dprof_show\').hide();
       jQuery(\'body\').css( \'marginBottom\', \'350px\');
-      e.preventDefault( );
+      e.preventDefault();
     });
   })', 'inline');
 }
@@ -109,7 +109,7 @@ function dprof_shutdown_real() {
   }
 }
 
-function dprof_menu( ){
+function dprof_menu(){
   $items['admin/dprof/rebuild'] = array( 
     'title' => 'Rebuild overrides',
     'page callback' => 'dprof_rebuild_overrides',
@@ -120,11 +120,11 @@ function dprof_menu( ){
   return $items;
 }
 
-function dprof_rebuild_overrides( ) {
-  if(dprof_create_overrides( )) {
+function dprof_rebuild_overrides() {
+  if(dprof_create_overrides()) {
     drupal_set_message(t('Dprof overrides rebuilt'));
   }
-  drupal_goto( );
+  drupal_goto();
 }
 function dprof_start($realm) {
   timer_start($realm);
@@ -153,7 +153,7 @@ function dprof_silent() {
 
 function dprof_shutdown_summary(){
   timer_stop('page');
-  $timer_data = _dprof_process_timers( );
+  $timer_data = _dprof_process_timers();
   $output = '';
 
   $output .= '<div id="dprof_tabs">';
@@ -212,7 +212,7 @@ function _dprof_render_summary($thing, $data) {
 }
 function _dprof_process_timers(){
   global $timers;
-  $data = array( );
+  $data = array();
   foreach($timers as $key=>$timer){
     if($key == 'page') continue;
     $key = explode('::', $key);
@@ -229,7 +229,7 @@ function _dprof_process_timers(){
   }
   return $data;
 }
-function dprof_create_overrides( ){
+function dprof_create_overrides(){
   // TODO hande errors
   $files = array(
     'includes/module.inc' => array('module_invoke', 'module_invoke_all'),
