Fixed javascript error for chrome and removed an unwanted character.

Fixed javascript error for chrome and removed an unwanted character.