JS utility tool