Fix Javascript error

Issues caused by addition of last quote.