work on implementing minification on client side and templates