Fixed javascript bug (json does not have to be parse in string)