recompile scripts when client side templates change