update dependencies
refactor html compilers: handle js and html use cases, return generic template function for client precompilation