Making smaller javascript.