Minor js bugfix.