removed partial.js, needs to be rewritten later