JavaScript based image organisation for local files