JS-based code goodies