TypeError: menu.parent(...).offset(...) is null
Line 110

I used Firebug to find out why the top menu with all the options won't work.
It was a bug in the Javascript as shown above.
May I know how to fix it.
PS: I am new to Drupal, so no coding or hard stuff please.