cleaner javascript.