fixed expected javascript string