Removed unsed templates
added units.js and removed the libraries that we don't use.