rejigger js