optimize home.js by veho