Update and rename pad to pad.js