clean js Code