bugger to test this js locally