javascript/directory changed