some half-finished js