tidied-up js folder