Remove some old ref to pagdivtype
Repare some code that had old ref to pagedivtype
Cleaning of js file
Merge pull request #7 from Cryde/cleaning

Cleaning