removed javascript debug statements.