nkmr's JavaScript library