Indeed single quotes preferred for JS - and indeed that should really be documented