draft with js