hs to js, fucking stupid.