finesse the JS