Making JS smaller