fixed extra double quote
added the toJS function