Removed debug code that was causing errors in javascript