Js upload from filesystem

fixes tests