Corrected js, started slicing