changing directory from dist to js