adds leap in .js and cleans up folders