fixup! JS code for opening an issue
Fix failing specs introduced in c849e81718d80af6563cecbe224299dd9751ec12