Updated documentation

And added links to manual from index pages.
Updated compiled version

And added scale.js that had been forgotten.