js paths are incorrect