Refactor JS to reduce HTTP requests