Created PMD.js

For the functions