Trim JS Code