JavaScript, CSS clean up