js cache, code clean