Another attempt at javascript paths.