cleans ugly code.
screenshot of code in C9 ide