JS bug, passing string without quotes.