split decompressor into it's own JS and add directions