un-fuck up javascript