ugly js