adds simple base of total.js