cleaner js - part II