tristan's js repository