Removed duplicate functions in pm.js