improves javascript pages