correct paths to js folder