bit of the old js